package com.example.teamilkmall.service.Impl;

import com.example.teamilkmall.entity.CollectInfo;
import com.example.teamilkmall.entity.TeaInfo;
import com.example.teamilkmall.mapper.CollectInfoMapper;
import com.example.teamilkmall.service.CollectInfoService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CollectInfoServiceImpl implements CollectInfoService {
    private final CollectInfoMapper collectInfoMapper;

    public CollectInfoServiceImpl(CollectInfoMapper collectInfoMapper) {
        this.collectInfoMapper = collectInfoMapper;
    }
    @Override
    public List<CollectInfo> listCollectInfo() {
        return collectInfoMapper.listCollectInfo();
    }
}
